home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / dskut / diskread.zip / DISKREAD.DOC < prev    next >
Text File  |  1987-08-04  |  6KB  |  129 lines

  1.  
  2.  
  3. Version 1.5                             July 14, 1987
  4.  
  5. Added asking the number of sectors that are to be copied to option four.
  6.  
  7. Version 1.4                             June 24, 1987
  8.  
  9. Added the capability of copying a hard drive to another hard drive.
  10. This option will be shown to the user, only if both drives are the same type.
  11.  
  12. Version 1.3                                                  March 16, 1987
  13.  
  14. Minor cosmetic changes.
  15.  
  16. Version 1.2                                                  November 4, 1986
  17.  
  18. Since this version has some new additions and since they are not as straight
  19. forward as version 1.1, this DOC has been created.
  20.  
  21.  
  22. MAIN MENU
  23.  
  24. The main menu gives you five options.
  25.  
  26. Option one allows you to change which drive you want to look at (if there is
  27. more than one) and at which point on the drive you wish to start looking.
  28.  
  29. Option two displays for you the hard disk partition table.  If there are two
  30. drives, both are displayed at the same time.
  31.  
  32. Option three displays the requested data sector.  The data sector can be
  33. ANYWHERE on the hard drive.  Unlike older Norton's Utilities, which limits you
  34. to the DOS partition area, this program allows you to go anywhere.  The
  35. operation of this option is explained in more detail later on.
  36.  
  37. Option four gives you the ability to copy a sector from one spot to another.
  38. It can even be done across drives.  Be careful when copying sectors.  You could
  39. end up making your drive useless.  You are also asked how many sectors to copy.
  40. These sectors are sequential and if copying within the same drive, make sure
  41. that the sectors don't overlap to the point where what you want copied gets
  42. changed before it is moved.  As an example, if you tell it to move sector one
  43. to sector five (on the same track and head) and tell it to copy six sectors,
  44. sectors five and six will be changed before they get copied.
  45.  
  46. Option five, if available, will allow you to copy one hard drive to another.
  47. This option is shown, only if the drives are the same type, ie, number of
  48. tracks, sectors, heads, etc.
  49.  
  50. Remember that whenever the program asks for a drive, it will be a 0 or 1,
  51. not C or D or E, etc.
  52.  
  53.  
  54. DATA DISPLAY SCREEN
  55.  
  56. The data display screen shows you the data, of the selected sector, in both
  57. hex and ASCII format.  In ASCII, control characters are shown in reverse.
  58. This makes it a little easier to see the character, as compared to Norton's.
  59. The top line shows where you are currently located.  On the right is a little
  60. three character display that indicates the following:
  61.  
  62.         D - The displaying of read sectors is on.  When turned off it speeds
  63.             up the operation of another option.
  64.         A - Auto-incrementing is turned on.
  65.         W - Re-write is on.
  66.  
  67. When auto-incrementing through the sectors, in order to find bad places,
  68. it is suggested that the data display be turned off.  This greatly increases
  69. the reading of the data sectors.
  70.  
  71. Auto-incrementing is used two ways.  One of them is to just sequentially go
  72. through the sectors and display the data.  The other is used with the RE-WRITE
  73. option.  When a data sector is read and there is a correctable ECC error,
  74. the data is still good, but most programs will consider it an error and abort.
  75. By using the re-write option, the same data is re-written to the disk and in
  76. most cases causes the original error to go away.  So, if you are experiencing
  77. lots of disk error, like I was (which is why the option exists), turn off
  78. display, turn on re-write and then turn on auto-incrementing.  It will go
  79. through all of the sectors, over and over again, until you turn off
  80. auto-incrementing.  But, when an ECC error is found and the data is good,
  81. the data is re-written.  Other error codes can be seen by looking at the
  82. INT13.ASM code.  It contains a complete list of error codes.
  83.  
  84. Pressing the Enter key will cause the help menu to appear.  But, following is
  85. a complete list of the function keys and what they do:
  86.  
  87.      F1  - Decrement the cylinder value
  88.      F2  - Increment the cylinder value
  89.      F3  - Decrement the head value
  90.      F4  - Increment the head value
  91.      F5  - Decrement the sector value
  92.      F6  - Increment the sector value
  93.      F7  - Turn off re-write (default)
  94.      F8  - Turn on re-write
  95.      F9  - Turn off auto-increment (default)
  96.      F10 - Turn on auto-increment
  97.  Alt F1  - Turn off display data
  98.  Alt F2  - Turn on data display (default)
  99.  
  100. When data is read, an error code is displayed on the top line.  The hex value
  101. is what the hard disk controller board returns after doing the read operation.
  102. if it is 11h, then an ECC error existed and the data is good.  The re-write
  103. option should be turned on and that sector read again.  After it is re-written,
  104. read it again to make sure that the error code is zero.  If the error code is
  105. a 10h, then an ECC error occured, but the data displayed is the same data that
  106. was there before the new sector was read, at least attempted to be read.  In
  107. this case, the re-write option won't do you any good.  You may want to try
  108. writing a different sector there to see if that fixes it.  If the data is text
  109. then it can easily be fixed.  But if the sector contained FAT data, directory
  110. data, for program data (binary data), that that file is basically shot. In the
  111. lower right corner of the ASCII display area, the last place an error occurred
  112. is displayed.  It is listed in cylinder, head and sector order.
  113.  
  114.  
  115. FUTURE DIRECTIONS
  116.  
  117. A future release will allow writing of changed data, just like Norton's
  118. Utilities, but with a difference.  You will also be able to change
  119. the data in the ASCII window.  No more looking up hex values of characters.
  120. Also, a future release will understand the PC-DOS 3.30 extended partition.
  121.  
  122. If you have any problems, comments or code enhancements, let me know.  The
  123. DISKREAD.BAS source code contains the address of where to send things.
  124.  
  125. Mike Brown
  126. SYSOP of NICBUL
  127.  
  128.  
  129.